package com.glp.work.flow.workflow.plugin.flowable.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liwenhong
 * @title
 * @date 2020/3/16.
 */

@Data
@ApiModel("保存流程定义的实体")
public class ModelSaveDto {
  @ApiModelProperty(value = "模型类型" ,required = false)
  private String modeltype;
  @ApiModelProperty(value = "编辑器保存的模板json",required = true)
  private String json_xml;
  @ApiModelProperty(value = "流程模板名称",required = true)
  private String name;
  @ApiModelProperty(value = "流程模板key",required = true)
  private String key;
  @ApiModelProperty(value = "简介",required = false)
  private String description;
  @ApiModelProperty(value = "是否新版本",required = false)
  private String newversion;
  @ApiModelProperty(value = "描述",required = false)
  private String comment;
  @ApiModelProperty(value = "是否最后更新",required = false)
  private String lastUpdated;
}
